package com.gxa.modules.model.entity.fee;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 药物费用明细表
 * </p>
 *
 * @author gxa
 * @since 2022-11-12 11:12:58
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_medicine_cost_detail")
@ApiModel(value = "MedicineCostDetail对象", description = "药物费用明细表")
public class MedicineCostDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("药物明细表的id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("药物的id")
    @TableField("medicine_id")
    private Integer medicineId;

    @ApiModelProperty("药物数量")
    @TableField("count")
    private Integer count;

    @ApiModelProperty("药物合计费用")
    @TableField("total")
    private Double total;

    @ApiModelProperty("住院信息id")
    @TableField("inpatient_detail_id")
    private Integer inpatientDetailId;

    @ApiModelProperty("逻辑删除（0不删，1删）")
    @TableField("is_delete")
    private Integer isDelete;


}
